<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Regular Planning Tool</title>
    <link rel="shortcut icon" href="{{ url_for('static', filename = 'favicon.ico') }}">
    <script src="{{ url_for('static', filename = 'js/openui5/sap-ui-core.js', _external = True) }}"
		id="sap-ui-bootstrap"
		data-sap-ui-theme="sap_bluecrystal"
		data-sap-ui-libs="sap.m"
		data-sap-ui-compatVersion="edge"
		data-sap-ui-preload="async"
		data-sap-ui-resourceroots='{"sap.ui.com.rpt": "/static/js/app"}' >
	</script>

	<script type="text/javascript">
		sap.ui.getCore().attachInit(function () {
			// // create a mobile app and display page1 initially
			// var app = new sap.m.App("RPT", {
			// 	initialPage: "systemClock"
			// });
			// // create the first page
			// var systemClock = new sap.m.Page("systemClock", {
			// 	title : "System Clock",
			// 	showNavButton : false,
			// 	content : new sap.ui.core.ComponentContainer({
			// 		name : "sap.ui.com.rpt"
			// 	})
			// });
			// app.addPage(systemClock);
			// app.placeAt("content");


{#			sap.ui.xmlview({#}
{#               viewName : "sap.ui.com.rpt.view.App"#}
{#            }).placeAt("content");#}

            jQuery.sap.require("sap.ui.com.rpt.Bootstrap");
			sap.ui.com.rpt.Bootstrap.run();
		});
	</script>
</head>
<body class="sapUiBody" id="content">
    <div id="busyIndicator">Loading ...</div>
</body>
</html>